const state={
    article:localStorage["article"]?JSON.parse(localStorage["article"]): [],
    collections:localStorage["collections"]?JSON.parse(localStorage["collections"]): [],
    carts:localStorage["carts"]?JSON.parse(localStorage["carts"]): [],
    orders:localStorage["orders"]?JSON.parse(localStorage["orders"]): [],
    todos:localStorage["todos"]?JSON.parse(localStorage["todos"]): [],
    address:localStorage["address"]?JSON.parse(localStorage["address"]): [],
    nowIndex:0,
    // ethelWxUserInfo


    // 暂用
    // userInfo: {
    //         "id": 225153,
    //         "openid": "oE93ts4xtcwyXBb6ucWcQir2bipI",
    //         "realname": "",
    //         "nickname": "叶演城",
    //         "sex": "男",
    //         "headimgurl": "http://thirdwx.qlogo.cn/mmopen/iaCxow6GugfpcBEVyN76wiaBdeQK2FgVFkx2r8cUNQibZIkA8MsQT2QOFMfic110ibf4O82VwL256vicbSQxLFyf8W8xTjy0noWF2N/132",
    //         "country": null,
    //         "province": null,
    //         "city": "河源",
    //         "username": "13035706860",
    //         "level": "联合创始人",
    //         "newbalance": 0,
    //         "oldbalance": 0,
    //         "regdate": "2018-11-30T07:03:09.912871",
    //         "is_bind_phone": true,
    //         "parent_id": 198399,
    //         "yjbalance": 25.66,
    //         "txbalance": 10,
    //         "subscribe": true
    //     },
    userInfo: '',
    // 判断用户是否存在    
    userInfoExist: false,

    // 下单区tabbar标识1
    // currentTabbar:'面膜区',
    currentTabbar:'联创下单区',
    currentStockTabbar:'个人库存',
    // currentStockTabbar:'公司库存',
    // 结算类型
    // settlement:'面膜结算',
    settlement:'个人出货',
    // settlement:'个人转让',
    // settlement:'公司进货',
    // "联创下单区" "公司库存" "公司进货"
    isShowAnimation:false,
    baseUrl:'https://ceshi.sailafeinav.com/'

}

export default state